import Layout from '@/layout'

const electronicBLSet = {
  path: '/emrInfo',
  component: Layout,
  hidden: true,
  redirect: '/emrInfo',
  name: 'emrInfo',
  meta: {
    title: '电子病历设置',
    icon: 'tree-table',
    noCache: true,
    roles: ['myClinic']
  },
  children: [
    {
      path: '/parameterSet',
      component: () => import('@/views/emrInfo/parameterSet'),
      name: '参数设置',
      meta: { icon: 'edit', title: '参数设置', roles: ['clinic:info'] }
    },
    {
      path: '/Registeredpackage',
      component: () => import('@/views/emrInfo/Registeredpackage'),
      name: '挂号套餐',
      meta: { icon: 'edit', title: '挂号套餐', roles: ['clinic:info'] }
    },
    {
      path: '/seeMatters',
      component: () => import('@/views/emrInfo/seeMatters'),
      name: '就诊事项',
      meta: { icon: 'edit', title: '就诊事项', roles: ['clinic:info'] }
    },
    {
      path: '/index',
      component: () => import('@/views/emrInfo/index'),
      name: '病历/检查项',
      meta: { icon: 'edit', title: '病历/检查项', roles: ['clinic:info'] }
    },

    {
      path: '/checkProject',
      component: () => import('@/views/emrInfo/checkProject'),
      name: '检查项目',
      meta: { icon: 'edit', title: '检查项目', roles: ['clinic:info'] }
    },
    {
      path: 'valid',
      component: () => import('@/views/clinic/valid'),
      name: '表单验证',
      meta: { icon: 'edit', title: '表单验证', roles: ['myClinic'] }
    }]
}

export default electronicBLSet
